package com.sunreal.paygateway.dao.model;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.ToString;

/**
 * Table: t_mch_info
 */
@Data
public class MchInfo implements Serializable {
    /**
     * 商户ID
     *
     * Table:     t_mch_info
     * Column:    MchId
     * Nullable:  false
     */
    private String mchid;

    /**
     * 名称
     *
     * Table:     t_mch_info
     * Column:    Name
     * Nullable:  false
     */
    private String name;

    /**
     * 类型
     *
     * Table:     t_mch_info
     * Column:    Type
     * Nullable:  false
     */
    private String type;

    /**
     * 请求私钥
     *
     * Table:     t_mch_info
     * Column:    ReqKey
     * Nullable:  false
     */
    private String reqkey;

    /**
     * 响应私钥
     *
     * Table:     t_mch_info
     * Column:    ResKey
     * Nullable:  false
     */
    private String reskey;

    /**
     * 商户状态,0-停止使用,1-使用中
     *
     * Table:     t_mch_info
     * Column:    State
     * Nullable:  false
     */
    private Byte state;

    /**
     * 创建时间
     *
     * Table:     t_mch_info
     * Column:    CreateTime
     * Nullable:  false
     */
    private Date createtime;

    /**
     * 更新时间
     *
     * Table:     t_mch_info
     * Column:    UpdateTime
     * Nullable:  false
     */
    private Date updatetime;

    private static final long serialVersionUID = 1L;
}
